package suzf.top.base.injection.module

import android.content.Context
import dagger.Module
import dagger.Provides
import suzf.top.base.common.BaseApplication
import javax.inject.Singleton

/**
 *
 *========================
 * Created with AndroidStudio
 * Author:Mr.Su
 * Date:2019-09-08
 * Time:17:57
 * ========================
 */
@Module
class AppModule(private val context: BaseApplication) {

    @Provides
    @Singleton
    fun providesContext(): Context {
        return context
    }
}